#ifndef ORDERWIDGET_H
#define ORDERWIDGET_H

#include <QWidget>
#include <QMessageBox>
namespace Ui {
class OrderWidget;
}

class OrderWidget : public QWidget
{
    Q_OBJECT

public:
    explicit OrderWidget(QWidget *parent = nullptr);
    ~OrderWidget();
protected:
    virtual void showEvent(QShowEvent *event);
private:
    void updateDisplay();


signals:
    void sendDisWidget(QString );
private slots:
    void onHeaderClicked(int,int);
    void on_pushButton_1_clicked();

    void on_pushButton_2_clicked();

    void on_pushButton_3_clicked();

    void on_pushButton_4_clicked();
private:
    Ui::OrderWidget *ui;
    int selectrow;
};

#endif // ORDERWIDGET_H
